package com.example.chat.service;

import com.dragonsoftbravo.web.PageVO;
import com.example.chat.model.User;
import com.example.chat.model.ro.UserListRO;
import com.example.chat.model.ro.UserRo;
import com.example.chat.model.vo.UserListVO;
import com.example.chat.model.vo.UserVO;
import org.springframework.data.domain.Page;

/**
 * @author pq
 * @date 2022/8/14 1:06
 * @description
 * @modified
 **/
public interface UserService {

    /**
     * 新增
     * @param ro
     */
    void add(UserRo ro);

    PageVO<UserListVO> UserList(UserListRO UserListRO,String currentUserId);

    Page<UserVO> find(User user);
}
